package com.xuan.yrmanage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * FileName: Class
 * Author:   xuan zongjun
 * Date:     2020/3/17 9:17
 * Description: 学校
 */
public class School implements Serializable {
    private Integer schoolId;

    private String schoolName;

    private String schoolCode;

    private String principal;

    private String telephone;

    private Integer regionId;

    private String regionName;

    private Integer cityRegionId;

    private String cityRegionName;

    private Integer areaRegionId;

    private String areaRegionName;

    private Integer status;

    private Integer isDelete;

    private String description;

    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" ,timezone ="GMT+8" )
    private Date createTime;

    private Integer createBy;

    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" ,timezone ="GMT+8" )
    private Date updateTime;

    private Integer updateBy;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getCityRegionId() {
        return cityRegionId;
    }

    public void setCityRegionId(Integer cityRegionId) {
        this.cityRegionId = cityRegionId;
    }

    public String getCityRegionName() {
        return cityRegionName;
    }

    public void setCityRegionName(String cityRegionName) {
        this.cityRegionName = cityRegionName;
    }

    public Integer getAreaRegionId() {
        return areaRegionId;
    }

    public void setAreaRegionId(Integer areaRegionId) {
        this.areaRegionId = areaRegionId;
    }

    public String getAreaRegionName() {
        return areaRegionName;
    }

    public void setAreaRegionName(String areaRegionName) {
        this.areaRegionName = areaRegionName;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName == null ? null : schoolName.trim();
    }

    public String getSchoolCode() {
        return schoolCode;
    }

    public void setSchoolCode(String schoolCode) {
        this.schoolCode = schoolCode == null ? null : schoolCode.trim();
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal == null ? null : principal.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }
}